<template>
  <div class="message">
    <div class="item-contant">
      <div class="title">{{info.title}}</div>
      <div v-html="info.content" class="contant">
        
      </div>
    </div>
  </div>
</template>
   
<style lang="less" scoped>
@import "index.less";
</style>

<script>
import { mapActions, mapState } from "vuex";

export default {
  name: "MSGmanager",
  data() {
    return {};
  },
  created() {
    this.change(false);
    console.log(this.info);
  },
  methods: {
    ...mapActions("Home", ["change"])
  },
  computed: {
    ...mapState({
      info: state => state.Msg.msg
    })
  },
  components: {}
};
</script>
